﻿using RayDen.Library.Entity.Interface;

namespace Lt.Workflow
{
    public class WorkflowItem : IWorkflowItem
    {

        protected string name;

        public string ID
        {
            get { return name; }
        }

        public virtual void Setup(IParameterBag arg)
        {
            
        }

        public virtual void Run(params object[] args)
        {
            throw new System.NotImplementedException();
        }

        public virtual bool Validate(bool throwException = false)
        {
            return true;
        }
    }
}